<div id="information">
<br /><br /><br />
<?php
$a = strip_tags(addslashes(trim(htmlspecialchars($_GET['name']))));
if(!$a) echo "ERROR";
$select_descr_name = mysql_query('SELECT * FROM tutorials WHERE name = "'.$a.'"');
$row_descr_name = mysql_fetch_assoc($select_descr_name);

echo '<h3>Същност на самоучителя по ' . $row_descr_name['name'].'</h3>';
echo '<p style="text-indent: 30px;">'.$row_descr_name['descr'].'</p>';

$select_module = mysql_query('SELECT * FROM modules WHERE to_tutorial = "'.$a.'"');

?>
<div style="border-bottom: 1px solid #222; width: 680px; margin: 0px auto;"></div>
<div class="icons-panel">
<?php
while($row_module = mysql_fetch_assoc($select_module)){
?>
<div class="icon">
<a href="<?php echo 'see_module.php?module='.$row_module['name'].'&name='.$a.''; ?>"><img src="../img/module.png" height="80px" width="80px" alt="add" class="pic"/></a><br />
<?php
echo $row_module['name'];
?>
</div>
<?php
}
?>
</div>
<?php
?>
</div>